home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / ScreenSavers / Sentinel / Source / ScreenLock.h < prev    next >
Text File  |  1995-06-12  |  1KB  |  38 lines

  1.  
  2. /* Generated by Interface Builder */
  3.  
  4. #import <appkit/graphics.h>
  5. #import <appkit/Responder.h>
  6. #import <dpsclient/dpsclient.h>
  7.  
  8. @interface ScreenLock:Responder
  9. {
  10.     id        lockMgr ;            /* Lock manager */
  11.     id        quitOption ;        /* Quit menu option */
  12.     id        lockOption ;        /* Lock menu option */
  13.     id        hideOption ;        /* Hide menu option */
  14.     id        waitWindow ;        /* Lock window used to accept keypresses */
  15.     char    password [ 128 ] ;    /* Password entry buffer */
  16.     int        passwordChars ;        /* Number of characters in password buffer */
  17.     double    origLevel ;            /* Brightness of screen before dimming */
  18.     double    lastLevel ;            /* Current brightness of screen */
  19.     double    dimDelta ;            /* Controls fading in and out */
  20.  
  21.     DPSTimedEntry    timedEntry ;    /* Moving message timed entry */
  22.     BOOL            isLocked ;        /* Current lock status */
  23.     NXRect            screenRect ;    /* Total screen space */
  24. }
  25.  
  26. - init ;
  27. - lock: sender ;
  28. - unlock: sender ;
  29. - (BOOL) isLocked ;
  30.  
  31. - keyDown: (NXEvent *) theEvent ;
  32. - (BOOL) acceptsFirstResponder ;
  33.  
  34. - timer ;
  35. - interrupt ;
  36.  
  37. @end
  38.